package com.dongnao.jack.loadbalance;

import java.io.Serializable;

public class NodeRegisterInfo implements Serializable {

    /** 
     * @Fields serialVersionUID : 
     */
    private static final long serialVersionUID = -6690741462260289779L;

    private String host;

    private int port;

    private String type;

    private Object registerInfo;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getRegisterInfo() {
        return registerInfo;
    }

    public void setRegisterInfo(Object registerInfo) {
        this.registerInfo = registerInfo;
    }

    @Override
    public String toString() {
        return "NodeRegisterInfo [host=" + host + ", port=" + port + ", type=" + type + ", registerInfo=" + registerInfo
                + "]";
    }

}
